#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from Utils.PageUtils import PageUtil
from Utils.Wait import Wait
from Utils.Browser import Browser
from Utils.Element import Element
from Utils.PropertiesParsor import ParsePageProperty

parse_string = ParsePageProperty().parse_string
parse_locator = ParsePageProperty().parse_locator


class ACToysBasePage(PageUtil):

    def __init__(self, _driver):
        super(ACToysBasePage, self).__init__(_driver)
        self.wait = Wait(self.driver)
        self.browser = Browser(self.driver)

    def redirect_link(self):
        return Element(self.driver, parse_locator('ACToys.BasePage.redirect_link'))

if __name__ == "__main__":
    pass
